package com.doudizu.hjy;

public class SnowLeopard {
    private String id;
    private String name;
    private String color;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    @Override
    public String toString() {
        return "动物类名：SnowLeopard{" +
                "动物id：'" + id + '\'' +
                ", 动物名字：'" + name + '\'' +
                ", color='" + color + '\'' +
                '}';
    }

    public void id(){
        System.out.println("1101");
    }
    public void name(){
        System.out.println("baobao");
    }
    public void color(){
        System.out.println("白灰色，黑环");
    }
    public void Food(){
        System.out.println("肉");

    }
}

